export const get = () => {
  const BaseUrl = window.location.hostname;
  const url = `//${BaseUrl}/api/interface/get`;
  const id = window.location.pathname.split('/').pop();

  return fetch(`${url}?id=${id}`).then(res => res.json());
};
